window.onload=function(){
	my_refresh_sbmtbtn.onclick=function(){
		ZeaiM.confirmUp({title:okstr,cancel:'取消',ok:'确定',okfn:function(){
			zeai.ajax({url:MHOST+'/my_refresh'+zeai.extname,data:{submitok:'ajax_modupdate'}},function(e){var rs=zeai.jsoneval(e);
				if(rs.flag==1){
					zeai.msg(rs.msg);
					setTimeout(function(){location.reload(true);},1000);
				}else if(rs.flag=='noloveb'){
					zeai.alertplus({'title':'亲，请您先充值','content':rs.msg,'title1':'取消','title2':'去充值','fn1':function(){zeai.alertplus(0);},
						'fn2':function(){zeai.alertplus(0);zeai.openurl(MHOST+'/my_loveb'+zeai.ajxext+'t=3&jumpurl='+encodeURIComponent(rs.jumpurl));}
					});
				}
			});
		}});
	}
}